﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="GeoWeb.Demo.Index" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>武大吉奥--DEMO库</title>
    <link href="JQuery_zTree_v3.5/css/zTreeStyle/zTreeStyle.css" rel="stylesheet" type="text/css" />
    <link href="Style/Default/index.css" rel="stylesheet" type="text/css" />
</head>
<body scroll="no">
    <form id="form1" runat="server">
    <div id="content">
        <div id="header">
            <div id="header1"></div>
            <div id="header2"></div>
        </div>
        <div id="center">
            <div id="left">
                <div id="msgTitle"></div>
                <div id="msgContent">
                    <div class="imgclass"><img src="Style/Default/images/main_26.gif" /><br />系统管理</div>
                    <div class="imgclass"><img src="Style/Default/images/main_28.gif" /><br />日志管理</div>
                    <div class="imgclass"><img src="Style/Default/images/main_31.gif" /><br />数据管理</div>
                </div>
                <div id="msgLine"></div>

                <div id="div_TreeContent">
                    <ul id="ul_Tree" class="ztree">
                    </ul>
                </div>
            </div>
            <div id="right">
                <div id="rightCentent">
                    <iframe frameborder="0" id="DemoContext" name="DemoContext"></iframe>
                </div>
            </div>
        </div>
        <div id="footer"></div>
    </div>
    </form>
</body>

<script src="Script/jquery-1.7.1.min.js" type="text/javascript"></script>
<script src="JQuery_zTree_v3.5/js/jquery.ztree.core-3.5.min.js" type="text/javascript"></script>
<script type="text/javascript">
    function fTitle(text) {
        $("#mainTitle").html(text);
    }
    $(function () {
        $(window).resize(function () {
            $("#content").height((document.documentElement.clientHeight || document.body.clientHeight)).width((document.documentElement.clientWidth || document.body.clientWidth));
            $("#content").css("minWidth", 960);
            var cHeight = $("#content").height() - $("#header").height() - $("#footer").height()-10;
            $('#left,#right').height(cHeight);
            $('#div_TreeContent').height(cHeight - $("#msgTitle").height() - $("#msgContent").height() - $("#msgLine").height());
            $('#DemoContext').height(cHeight-10);
        });
        $(window).resize();
        $.fn.zTree.init($("#ul_Tree"), {}, [
            { name: '武大吉奥--DEMO库', open: true,
                children: [
                    { name: '数据操作ORM库：GeoWeb.DataContext demo', target: 'DemoContext', url: 'DataContext/Demo.aspx' },
                    { name: 'Aspose.cells：EXCEL导入导出 demo', target: 'DemoContext', url: 'Asposes/ExcelDemo.aspx' },
                    { name: 'Aspose.words：Word导出 demo', target: 'DemoContext', url: 'Asposes/WordDemo.aspx' },
                    { name: 'Common类库帮助类部分 demo', target: 'DemoContext', url: 'Commons/Demo.aspx' },
                    { name: '全文检索：GeoFullTextSearchLib demo', target: 'DemoContext', url: 'GeoFullTextSearch/SearchDemo.aspx' },
                    { name: 'flex文件上传：UploadFileWebService demo', target: 'DemoContext', url: 'UploadFileWebService/flex/UploadFile.html' },
                    { name: 'GeoWeb.Controls.WebGrid 使用示例', target: 'DemoContext', url: 'WebGrid_Demo/Default.aspx' },
                    { name: '资源表管理', target: 'DemoContext', url: 'CodeValue/BPO_codeValues.aspx' },
                    { name: 'GeoJS 使用示例', target: 'DemoContext', url: 'Script/GeoJS_Demo.htm' },
                    { name: '工作日配置', target: 'DemoContext', url: 'WorkDataConfig/GeoWorkData.aspx' },
                    { name: '按钮配置', target: 'DemoContext', url: 'ButtonConfigInfo/Index.aspx' },
                    { name: '统计图示例', target: 'DemoContext', url: '3DStatisticalChart/Index.aspx', click: "fTitle('统计图示例');",
                        children: [
                            { name: '柱状图', target: 'DemoContext', url: '3DStatisticalChart/column3D.html' },
                            { name: '柱状图_stack', target: 'DemoContext', url: '3DStatisticalChart/column3D_stacked.htm' },
                            { name: '饼状图', target: 'DemoContext', url: '3DStatisticalChart/pie3D.html' }
                        ]
                    },
                    { name: '主界面风格配置', target: 'DemoContext', url: 'MainTemplate/index.aspx'}
                ]
            }]
        );  
    });
</script>
</html>
